how to take last entry in database in laravel Method Two

99

$last2 = DB::table('items')->orderBy('id', 'DESC')->first();

Comments

Submit
0 Comments